package exceptions;

import game.GoBoard;

public class UnknownColorException extends Exception {
	
	int color;
	
	public UnknownColorException(int color) {
		this.color = color;
	}
	
	public String toString() {
		return "Unknow color : "+color+" only possibilities are BLACK "+GoBoard.BLACK+" and WHITE "+GoBoard.WHITE;
	}

}
